package com.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.entity.Subject;
import com.edu.entity.SubjectScore;
import com.edu.vo.Result;
import com.edu.vo.SubjectVo;

import java.util.List;

/**
 * @InterfaceName SubjectService
 * @Description
 * @Author W.Jian
 * @Date 2021/5/22 12:58
 **/
public interface SubjectService extends IService<Subject> {
    List<Subject> listByCondition(Subject subject);
    Result insertRef(SubjectScore subjectScore);
    Result listSubjectRef(Long schoolId,Long majorId);

    Result updateDelFlag(Long subjectId);

    List<SubjectVo> querySubjectScore(Long stuId, Long toMajorId);
}

